package org.asiainfo.system.domain;

import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import org.asiainfo.common.tenant.core.TenantEntity;

/**
 * 租户表(SysTenant)实体类
 *
 * @author dotor-ww
 * @since 2024-02-05 17:16:55
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("sys_tenant")
public class SysTenant extends TenantEntity {

    /**
     * 主键ID
     */
    @Id
    @Column(value = "id")
    private Long id;
    /**
     * 联系人
     */
    @Column(value = "contact_user_name")
    private String contactUserName;
    /**
     * 联系电话
     */
    @Column(value = "contact_phone")
    private String contactPhone;
    /**
     * 企业名称
     */
    @Column(value = "company_name")
    private String companyName;
    /**
     * 统一社会信用编码
     */
    @Column(value = "license_number")
    private String licenseNumber;
    /**
     * 地址
     */
    @Column(value = "address")
    private String address;
    /**
     * 企业简介
     */
    @Column(value = "intro")
    private String intro;
    /**
     * 域名
     */
    @Column(value = "tenant_domain")
    private String tenantDomain;
    /**
     * 备注信息
     */
    @Column(value = "remark")
    private String remark;
    /**
     * 租户套餐
     */
    @Column(value = "package_id")
    private Long packageId;
    /**
     * 过期时间
     */
    @Column(value = "expire_time")
    private Date expireTime;
    /**
     * 用户数量(-1不限制)
     */
    @Column(value = "account_count")
    private Integer accountCount;
    /**
     * 租户状态(0:正常 1:停用)
     */
    @Column(value = "status")
    private String status;
    /**
     * 删除标志(0:存在 2:删除)
     */
    @Column(value = "del_flag")
    private String delFlag;
}

